package com.ity.teamanagement.entity.outputResult;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author coderFu
 * @create 2021/5/23
 */
@Data
@ApiModel("茶树二维码路径中转")
public class TeaQrCodeTemp {

    @ApiModelProperty("自增id")
    private Long id;

    @ApiModelProperty("二维码内容")
    private String content;

    @ApiModelProperty("二维码图片id")
    private Long qrImgId;

    @ApiModelProperty("二维码路径")
    private String path;

    @ApiModelProperty("茶树表id")
    private Long teaMessageId;

    @ApiModelProperty("生成时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    private Date createTime;


}
